define(function(require,exports,module){
    
    var tpl = require('../../tpl/scoreMall/dhRecord.tpl');//载入tpl模板
    var curId = $("#exchangeRecordDiv");
    var pagerid = "kkpagerExchangeRecord";
    //初始化显示表格、搜索
    require.async(['./showTable','./search'],function(showTable,search){
        showTable.ajaxUrl('/member/score/convert/list.html?',tpl,curId,pagerid);
        search.search('/member/score/convert/list.html?',tpl,curId,pagerid);
        
        // 点击后重新加载列表分页搜索
        $(".exchange_record").click(function(){
        	showTable.ajaxUrl('/member/score/convert/list.html?',tpl,curId,pagerid);
        });
    });
});